package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.ArrayList;
import java.util.List;

/**
 * 供货合同实体对象 sys_providecontract
 * 
 * @author ruoyi
 * @date 2020-12-13
 */
public class SysProvidecontract extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 供货合同表ID */
    private Long provideContractId;

    /** 供应商ID */
    @Excel(name = "供应商ID")
    private Long supplierId;
    /**供应商名称*/
    private String supplierName;

    /** 采购单位ID */
    @Excel(name = "采购单位ID")
    private Long purchasingUnitId;

    /** 采购单位名称 */
    private String unitName;

    /** 合同编号 */
    @Excel(name = "合同编号")
    private String contractNumber;

    /** 供方 */
    @Excel(name = "供方")
    private String provider;

    /** 供方授权公司 */
    @Excel(name = "供方授权公司")
    private String providerCompany;

    /** 需方 */
    @Excel(name = "需方")
    private String demander;

    /** 需方主管部门 */
    @Excel(name = "需方主管部门")
    private String demanderCompany;

    /** 扩展字段1 */
    @Excel(name = "扩展字段1")
    private String attribite1;

    /** 扩展字段3 */
    @Excel(name = "扩展字段3")
    private String attribite3;

    /** 扩展字段2 */
    @Excel(name = "扩展字段2")
    private String attribite2;

    /** 扩展字段4 */
    @Excel(name = "扩展字段4")
    private String attribite4;

    /** 扩展字段5 */
    @Excel(name = "扩展字段5")
    private String attribite5;

    /** 扩展字段1 */
    @Excel(name = "扩展字段1")
    private String attribite6;

    /** 合同使用状态 */
    @Excel(name = "合同使用状态")
    private String status;
    /** 提货日期 */
    @Excel(name = "提货日期")
    private String takeGoodDate;
    /** 异议截止日期 */
    @Excel(name = "异议截止日期")
    private String dissentEndDate;
    /** 验收人 */
    @Excel(name = "验收人")
    private String checkPerson;

    /** 开户行名称 */
    @Excel(name = "开户行名称")
    private String blankName;

    /** 开户行账号 */
    @Excel(name = "开户行账号")
    private String blankAccount;

    public String getBlankName() {
        return blankName;
    }

    public void setBlankName(String blankName) {
        this.blankName = blankName;
    }

    public String getBlankAccount() {
        return blankAccount;
    }

    public void setBlankAccount(String blankAccount) {
        this.blankAccount = blankAccount;
    }

    public String getCheckPerson() {
        return checkPerson;
    }

    public void setCheckPerson(String checkPerson) {
        this.checkPerson = checkPerson;
    }

    public String getTakeGoodDate() {
        return takeGoodDate;
    }

    public void setTakeGoodDate(String takeGoodDate) {
        this.takeGoodDate = takeGoodDate;
    }

    public String getDissentEndDate() {
        return dissentEndDate;
    }

    public void setDissentEndDate(String dissentEndDate) {
        this.dissentEndDate = dissentEndDate;
    }

    private List<SysProvidecontractdetails> listDetails=new ArrayList<SysProvidecontractdetails>();

    public List<SysProvidecontractdetails> getListDetails() {
        return listDetails;
    }

    public void setListDetails(List<SysProvidecontractdetails> listDetails) {
        this.listDetails = listDetails;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public String getUnitName() {
        return unitName;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }

    public void setProvideContractId(Long provideContractId)
    {
        this.provideContractId = provideContractId;
    }

    public Long getProvideContractId() 
    {
        return provideContractId;
    }
    public void setSupplierId(Long supplierId) 
    {
        this.supplierId = supplierId;
    }

    public Long getSupplierId() 
    {
        return supplierId;
    }
    public void setPurchasingUnitId(Long purchasingUnitId) 
    {
        this.purchasingUnitId = purchasingUnitId;
    }

    public Long getPurchasingUnitId() 
    {
        return purchasingUnitId;
    }
    public void setContractNumber(String contractNumber) 
    {
        this.contractNumber = contractNumber;
    }

    public String getContractNumber() 
    {
        return contractNumber;
    }
    public void setProvider(String provider) 
    {
        this.provider = provider;
    }

    public String getProvider() 
    {
        return provider;
    }
    public void setProviderCompany(String providerCompany) 
    {
        this.providerCompany = providerCompany;
    }

    public String getProviderCompany() 
    {
        return providerCompany;
    }
    public void setDemander(String demander) 
    {
        this.demander = demander;
    }

    public String getDemander() 
    {
        return demander;
    }
    public void setDemanderCompany(String demanderCompany) 
    {
        this.demanderCompany = demanderCompany;
    }

    public String getDemanderCompany() 
    {
        return demanderCompany;
    }
    public void setAttribite1(String attribite1) 
    {
        this.attribite1 = attribite1;
    }

    public String getAttribite1() 
    {
        return attribite1;
    }
    public void setAttribite3(String attribite3) 
    {
        this.attribite3 = attribite3;
    }

    public String getAttribite3() 
    {
        return attribite3;
    }
    public void setAttribite2(String attribite2) 
    {
        this.attribite2 = attribite2;
    }

    public String getAttribite2() 
    {
        return attribite2;
    }
    public void setAttribite4(String attribite4) 
    {
        this.attribite4 = attribite4;
    }

    public String getAttribite4() 
    {
        return attribite4;
    }
    public void setAttribite5(String attribite5) 
    {
        this.attribite5 = attribite5;
    }

    public String getAttribite5() 
    {
        return attribite5;
    }
    public void setAttribite6(String attribite6) 
    {
        this.attribite6 = attribite6;
    }

    public String getAttribite6() 
    {
        return attribite6;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("provideContractId", getProvideContractId())
            .append("supplierId", getSupplierId())
            .append("purchasingUnitId", getPurchasingUnitId())
            .append("contractNumber", getContractNumber())
            .append("provider", getProvider())
            .append("providerCompany", getProviderCompany())
            .append("demander", getDemander())
            .append("demanderCompany", getDemanderCompany())
            .append("createTime", getCreateTime())
            .append("attribite1", getAttribite1())
            .append("attribite3", getAttribite3())
            .append("attribite2", getAttribite2())
            .append("attribite4", getAttribite4())
            .append("attribite5", getAttribite5())
            .append("attribite6", getAttribite6())
            .append("status", getStatus())
            .toString();
    }
}
